//package com.txy.filter;
//
//
//import com.alibaba.dubbo.common.extension.Activate;
//import com.alibaba.dubbo.rpc.*;
//
//@Activate
//public class WatchingHelperFilter implements Filter {
//    @Override
//    public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
//        long startTime = System.currentTimeMillis();
//        Result result = invoker.invoke(invocation);
//        long endTime = System.currentTimeMillis();
//        System.out.println(invoker.getUrl()+"耗时:"+(endTime-startTime)+"ms");
//        return result;
//    }
//}
